<?php namespace Summer\Hjd\Controllers;

use Backend\Classes\Controller;
use BackendMenu;

class DetailedLine extends Controller
{
    public $implement = [
        'Backend\Behaviors\ListController',
        'Backend.Behaviors.ImportExportController'
    ];

    public $listConfig = 'config_list.yaml';
    public $importExportConfig = 'config_import_export.yaml';

    public $requiredPermissions = [
        'hjd_detailed' 
    ];

    public function __construct()
    {
        parent::__construct();
        \BackendMenu::setContext('Winter.System', 'main-menu-item-hjd_enduser');
        \Summer\Hub\Classes\SideNavManager::setContext('Summer.Hjd', 'side-menu-item-hjd_detailed_line');
    }
}
